print 'Input 10 numbers:'
l = []
for i in range(10):
    l.append(int(raw_input()))
for i in range(9):
    for j in range(i+1,10):
        if l[j]<l[i]:
            temp = l[j]
            l[j] = l[i]
            l[i] = temp    
print l